package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.CourseCollect;

import java.util.List;

public interface CourseCollectService {
    int addCourseCollect(CourseCollect courseCollect);
    int deleteCourseCollect(int id);
    int updateCourseCollect(CourseCollect courseCollect);
    CourseCollect getCourseCollectById(int id);
    List<CourseCollect> getAllCourseCollect();
    PageInfo<CourseCollect> getAllCourseCollectByPage(CourseCollect courseCollect,int pageNum, int pageSize);
}
